package com.neusoft.dao;

import com.neusoft.common.Result;
import com.neusoft.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DeptDao {

     boolean addDept(Dept dept);

     Dept queryById(Long id);

     List<Dept> queryAll(Dept dept);

     int updateDeptById(Dept dept);
}
